﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Web.Services;
using System.Web.Services.Protocols;

/// <summary>
/// Descripción breve de MedicamentosService
/// </summary>
public partial class Service
{
    #region "Medicamentos"

    [WebMethod]
    public DataTable medicamentosBuscarMedicamento(string cadena)
    {
        return MedicamentosDA.buscarMedicamento(cadena);
    }

    [WebMethod]
    public DataTable medicamentosListarMedicamentos()
    {
        return MedicamentosDA.listarMedicamentos();
    }

    //[WebMethod]
    //public DataTable medicamentosBuscarxNombre(string medicamentoNombre)
    //{
    //    return MedicamentosDA.buscarmedicamentosxnombre(medicamentoNombre);
    //}

    #endregion
}